<div class="site_head">
    <div class="head_inner">
        <div class="site_logo"> <a href="http://{maccms:url}" title="{maccms:name}" class="link_logo"><strong class="hidden">{maccms:name}</strong></a>
        </div>
        <div class="mod_ad_head">
		<script language="JavaScript" type="text/javascript">
tips = new Array(9);
tips[0] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/1.gif" border="0" /></a>';
tips[1] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/2.gif" border="0" /></a>';
tips[2] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/3.gif" border="0" /></a>';
tips[3] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/4.gif" border="0" /></a>';
tips[4] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/5.gif" border="0" /></a>';
tips[5] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/6.gif" border="0" /></a>';
tips[6] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/7.gif" border="0" /></a>';
tips[7] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/8.gif" border="0" /></a>';
tips[8] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/9.gif" border="0" /></a>';
tips[9] = '<a href="" target="_blank"><img src="{maccms:path_tpl}images/ads/10.gif" border="0" /></a>';
index = Math.floor(Math.random() * tips.length);
document.write(tips[index]);
</script>
        </div>
        <div class="mod_search">         
		    <form id="search_form" name="search_form" method="post" action="">
                <div class="search_inner"> <i class="ico_search"></i>
                    <label>
                        <input class="search_ipt" name="key" type="text" id="key" onBlur="if(this.value==''){this.value='请输入关键词';this.style.color='#aaa'};" onFocus="if(this.value=='请输入关键词'){this.value='';this.style.color='#aaa'};" value="请输入关键词"
                        style="color: rgb(170, 170, 170);" />
                    </label>
                    <label>
                        <select name="seachid" id="seachid" class="myselect f14">
						    <option value="kan">站内</option>
							<option value="baidu">百度</option>
							<option value="haosou">好搜</option>
                        </select>
                    </label>
                    <label>
                        <input class="search_btn" type="button" name="button" id="button" value="" onClick="subs();" /><span class="hidden">搜索</span>
                    </label>
                </div>
            </form>
        </div>
        <div class="mod_quick">
            <div class="quick_item">
                <a class="quick_history" href="#" id="history"> <i class="ico_history_26"></i>  <span class="quick_txt">看过</span>  <i class="divide"></i> 
                </a>
            </div>
            <div class="quick_item">
                <a class="quick_attention" href="javascript:MAC.Fav(MAC.Url,MAC.Title)"> <i class="ico_collect_26"></i>  <span class="quick_txt">关注</span>  <i class="divide"></i> 
                </a>
            </div>
            <div class="quick_item">
                <a class="quick_attention" href="{maccms:link_gbook}"> <i class="ico_upload_26"></i>  <span class="quick_txt">留言</span>  <i class="divide"></i> 
                </a>
            </div>
            <div class="quick_item">
                <a class="quick_attention" href="javascript:void(0)" id="login">
                    <img  class="yj" src="http://imgcache.qq.com/tencentvideo_v1/vstyle/web/v3/style/images/default_avatar.png" alt="登陆" />
                </a>
            </div>
        </div>
    </div>
    <div class="site_navigation">
        <div class="navigation_main">
            <div class="navigation_top"></div>
            <div class="navigation_inner">
                <ul class="navigation_area">
                    </li>
					{maccms:matrix table=vod type=1,2,3,4,48}
                    <li class="list_item"> <a href="[matrix:link]" class="link_nav"><span class="link_inner ft">[matrix:name]</span><i class="nav_sign"></i></a>
                        <div class="navigation_sub">
                            <ul>
							{maccms:vod num=9 type=[matrix:id] start=1 order=desc by=time}
                                <li><a href="[vod:link]" target="_blank">
                                    <img class="lazy yj" src="[vod:pic]" alt="[vod:name]" width="120" height="142" />
                                    </a><a href="[vod:link]" target="_blank" class="link_nav_sub"><span class="link_innet f14">[vod:name len=8]</span></a>
                                </li>
								{/maccms:vod}
								</ul>
                        </div>
                    </li>
					{/maccms:matrix}
					</ul>
                <ul class="navigation_area">
				{maccms:matrix table=vod type=child parent=2 order=asc num=5}
				 <li class="list_item"> <a href="[matrix:link]" class="link_nav"><span class="link_inner ft">[matrix:name]</span><i class="nav_sign"></i></a>
                        <div class="navigation_sub">
                            <ul>
							{maccms:vod num=9 type=[matrix:id] start=1 order=desc by=time}
                                <li><a href="[vod:link]" target="_blank">
                                    <img class="lazy yj" src="[vod:pic]" alt="[vod:name]" width="120" height="142" />
                                    </a><a href="[vod:link]" target="_blank" class="link_nav_sub"><span class="link_innet f14">[vod:name len=8]</span></a>
                                </li>
								{/maccms:vod}
								</ul>
                        </div>
                    </li>
					{/maccms:matrix}
                   </ul>
                <ul class="navigation_area">
				{maccms:matrix table=vod type=5,6,7,8,9,26 parent=1 order=asc num=6}
                 <li class="list_item"> <a href="[matrix:link]" class="link_nav"><span class="link_inner ft">[matrix:name]</span><i class="nav_sign"></i></a>
                        <div class="navigation_sub">
                            <ul>
							{maccms:vod num=9 type=[matrix:id] start=1 order=desc by=time}
                                <li><a href="[vod:link]" target="_blank">
                                    <img class="lazy yj" src="[vod:pic]" alt="[vod:name]" width="120" height="142" />
                                    </a><a href="[vod:link]" target="_blank" class="link_nav_sub"><span class="link_innet f14">[vod:name len=8]</span></a>
                                </li>
								{/maccms:vod}
                                </ul>
                        </div>
                    </li>
					{/maccms:matrix}
					</ul>
                <ul class="navigation_none">
                    <li class="list_item"><a href="{maccms:getlink tv.html}" class="link_nav"><span class="link_inner">直播</span></a></li>
                    <li class="list_item"><a href="{maccms:getlink new.html}" class="link_nav"><span class="link_inner">最新</span></a></li>
                    <li class="list_item"><a href="{maccms:link_map_vod}" class="link_nav"><span class="link_inner">排行</span></a></li>
					<li class="list_item"><a href="{maccms:link_topic_vod}" class="link_nav"><span class="link_inner">专题</span><i class="ico_text_top_small"></i></a></li>
                </ul>
            </div>
        </div>
    </div>
</div>